home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
text
/
edit
/
envcpp11.lha
/
envCPP11
/
Install
< prev
next >
Wrap
Text File
|
1996-11-19
|
4KB
|
167 lines
; $VER: 1.0 All rights reserved.
(delopts "oknodelete" "force" "askuser")
(complete 0)
(if (exists "GOLDED:" (NOREQ))
(
(set vernum (getversion "golded:golded"))
(set ver (/ vernum 65536))
(set rev (- vernum (* ver 65536)))
(set version (+ (* 10 ver) rev))
(if (< version 40)
(
(message "\nSorry, GoldED 4.0.0 or better required")
(exit (quiet))
)
)
(message (cat "\n"
" \n"
"C++ mode for GoldED 4 (for Dice and SAS/C) \n"
" \n"
"©1996 Dietmar Eilert \n"
" All Rights Reserved. \n"
" \n"
" E-Mail: dietmar@tomate.tng.oche.de \n"
" \n"
"GoldED Release 4.0.0+ required. \n"
))
(copylib
(prompt "Install API client ?")
(source "api/mirror.api")
(dest "golded:api")
(confirm)
(help @copylib-help)
)
(copylib
(prompt "Install syntax parser ?")
(source "syntax/warpC++.parser")
(dest "golded:syntax")
(confirm)
(help @copylib-help)
)
; install registry editor (if not yet installed)
(if (not (exists "golded:tools"))
(makedir "golded:tools")
)
(if (not (exists "golded:tools/regedit"))
(makedir "golded:tools/regedit")
)
(copylib
(prompt "Install registry editor ?")
(source "bin/regedit" )
(dest "golded:tools/regedit")
(confirm)
(help @copylib-help)
)
; install toolbar images
(if (exists "toolbar") (
(set hicolor
(askchoice
(prompt "\nSelect toolbar style:\n")
(choices
"4 colors"
"8+ colors"
)
(default 1)
(help (cat "\n"
" You can use both styles on all screens. The 4\n"
" color style has been optimized for 4-color \n"
" screens. The 8+ style has been optimized for \n"
" screens with eight or more colors. \n"
))
)
)
(if (not (exists "golded:toolbar"))
(makedir "golded:toolbar")
)
(if (not (exists "golded:toolbar/standard"))
(makedir "golded:toolbar/standard")
)
(copyfiles
(source "toolbar")
(dest "golded:toolbar")
(nogauge)
(all)
)
(if (= hicolor 1)
(copyfiles
(source "toolbar16")
(dest "golded:toolbar")
(nogauge)
(all)
)
)
))
; install macros
(if (not (exists "golded:arexx"))
(makedir "golded:arexx")
)
(copyfiles
(source "arexx")
(dest "golded:arexx")
(nogauge)
(all)
)
; update registry
(working "Updating registry...")
(run "golded:tools/regedit/regedit script=install.bat")
)
(message (cat "\n"
"Please install GoldED before attempting to\n"
"install this client. \n"
))
)
(exit (quiet))
(welcome)